import request from '@/utils/request'

const specialPlan = {
  list(params) {
    return request.get('/ggxq/specialPlan/list', {params});
  },
  add(data) {
    return request.post(`/ggxq/specialPlan/add`, data);
  },
  update(data) {
    return request.post(`/ggxq/specialPlan/update`, data);
  },
  del(id) {
    return request.post(`/ggxq/specialPlan/delete/${id}`);
  },
  get(id) {
    return request.get(`/ggxq/specialPlan/detail/${id}`);
  },
  getMySortList(params) {
    return request.get(`/ggxq/projectExpertsInfo/getMySortList`, { params });
  },
}
export default specialPlan;
